Skip to content

Reject some cases with return and command calls#3630

Merged
kddnewton merged 1 commit into
ruby:mainfrom
Earlopain:command-call-return-args
Sep 11, 2025
Merged

Reject some cases with return and command calls#3630
kddnewton merged 1 commit into
ruby:mainfrom
Earlopain:command-call-return-args

Conversation

@Earlopain

Copy link
Copy Markdown
Collaborator

The same also applies to break/next.

https://bugs.ruby-lang.org/issues/21540

Unsure about the approach but I wrote some tests at least that should be good.

@kddnewton
kddnewton force-pushed the command-call-return-args branch from d1dbd2c to 3a38b19 Compare September 11, 2025 15:06
@kddnewton
kddnewton merged commit fcf06b0 into ruby:main Sep 11, 2025
60 checks passed
@Earlopain
Earlopain deleted the command-call-return-args branch October 3, 2025 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants